#!/usr/bin/bash
# 设置ROS 2环境变量
source /opt/ros/humble/setup.bash
source /home/robot/workspaces/ros2_ws/install/setup.bash
export ROS_DOMAIN_ID=42
#增加sleep解决jetson控制板ros2_node.service开机自启后RMSMaster无法发现Jetson ROS2节点问题;
sleep 10
# 启动launch文件
ros2 launch rms_pkg multi_node_launch.py
